#ifndef	__BSP_USART_H_
#define __BSP_USART_H_

#include "main.h"
#include "stdio.h"
#include "stdint.h"


typedef enum{
    BSP_USART1 = 0,
    BSP_USART2    ,
    BSP_USART3    ,
    BSP_USART4    ,
    BSP_USART5    ,
    BSP_USART_ALL    ,
}BSP_USART_PORT;

    
uint8_t bsp_usart_init(BSP_USART_PORT usart_id);
uint8_t bsp_usart_send(BSP_USART_PORT usart_id,uint8_t *data_in,uint16_t _len);
uint8_t bsp_usart_dis_send(BSP_USART_PORT usart_id);
uint8_t bsp_usart_receive_init(BSP_USART_PORT usart_id);
uint8_t bsp_usart_dis_receive(BSP_USART_PORT usart_id);

#endif

